package com.example.cognitivesystemserver.mapper;

import com.example.cognitivesystemserver.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TeacherMapper {
    public void addTeacher(Teacher teacher);
    public void deleteTeacher(String id);
    public void updateTeacher(Teacher teacher);
    public Teacher getTeacher(String TeacherId);
    public List<Teacher> getAllTeacher();
}
